package com.mybatis.dto;

import javax.persistence.Column;

public class MyColumnDto {
    private MyModelDto myModelDto;//这个属性好像没用到,用了，通过他的属性获取各种注解
    private String columnName;
    private Boolean isDefault = true;
    private Boolean isPk = false;
    private Boolean isLazy = false;
    private Boolean isIgnore = false;
    private Column column;
    private Class<?> javaType;

    public MyModelDto getMyModelDto() {
        return myModelDto;
    }

    public void setMyModelDto(MyModelDto myModelDto) {
        this.myModelDto = myModelDto;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public Boolean getDefault() {
        return isDefault;
    }

    public void setDefault(Boolean aDefault) {
        isDefault = aDefault;
    }

    public Boolean getPk() {
        return isPk;
    }

    public void setPk(Boolean pk) {
        isPk = pk;
    }

    public Boolean getLazy() {
        return isLazy;
    }

    public void setLazy(Boolean lazy) {
        isLazy = lazy;
    }

    public Boolean getIgnore() {
        return isIgnore;
    }

    public void setIgnore(Boolean ignore) {
        isIgnore = ignore;
    }

    public Column getColumn() {
        return column;
    }

    public void setColumn(Column column) {
        this.column = column;
    }

    public Class<?> getJavaType() {
        return javaType;
    }

    public void setJavaType(Class<?> javaType) {
        this.javaType = javaType;
    }
}
